package org.example.salarysystem.pojo;


public class SalaryItem {
    private Integer itemId;         // 工资项目编号
    private String name;            // 项目名称（如基本工资）
    private String standardAmount;  // 标准金额（可为空）

    public SalaryItem() {
    }

    public SalaryItem(Integer itemId, String name, String standardAmount) {
        this.itemId = itemId;
        this.name = name;
        this.standardAmount = standardAmount;
    }

    /**
     * 获取
     * @return itemId
     */
    public Integer getItemId() {
        return itemId;
    }

    /**
     * 设置
     * @param itemId
     */
    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return standardAmount
     */
    public String getStandardAmount() {
        return standardAmount;
    }

    /**
     * 设置
     * @param standardAmount
     */
    public void setStandardAmount(String standardAmount) {
        this.standardAmount = standardAmount;
    }

    public String toString() {
        return "SalaryItem{itemId = " + itemId + ", name = " + name + ", standardAmount = " + standardAmount + "}";
    }
}
